﻿using System;
using System.Collections.Generic;
using System.Text;

namespace NP.BPMReportPlatform.Entities.BPM_Business.DailyCloseBook
{
    public class DailyCloseBookHeader : BaseHead
    {
        /// <summary>
        /// 工厂代码
        /// </summary>
        public string Factory { get; set; }

        /// <summary>
        /// MRP
        /// </summary>
        public string MRP { get; set; }

        /// <summary>
        /// 同步次数
        /// </summary>
        public int SyncCount { get; set; } = 0;

        /// <summary>
        /// 是否同步成功
        /// </summary>
        public bool IsSyncSuccess { get; set; } = false;

        /// <summary>
        /// 同步结果
        /// </summary>
        public string SyncResult { get; set; }

        /// <summary>
        /// 同步时间
        /// </summary>
        public DateTime? SyncTime { get; set; }

        /// <summary>
        /// 是否同步成功
        /// </summary>
        public bool IsSyncSuccess1 { get; set; } = false;

        /// <summary>
        /// 同步结果
        /// </summary>
        public string SyncResult1 { get; set; }

        /// <summary>
        /// 同步时间
        /// </summary>
        public DateTime? SyncTime1 { get; set; }

        /// <summary>
        /// 一级审批人
        /// </summary>
        public string Approver1UserId { get; set; }

        public string Approver1WorkNumber { get; set; }

        public string Approver1UserName { get; set; }

        /// <summary>
        /// 二级审批人
        /// </summary>
        public string Approver2UserId { get; set; }

        public string Approver2WorkNumber { get; set; }

        public string Approver2UserName { get; set; }
    }
}
